package com.lexin.action.model;

import java.sql.Timestamp;

import org.springframework.stereotype.Component;

/***
 * 用户账户信息
 * @author Lexin
 */
@Component
public class UserAccounts {
	long id;							//ID
	String username;				//用户名
	String password;				//密码
	int enable;						//0关闭/1启用
	Timestamp create_date;	//创建日期
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getEnable() {
		return enable;
	}
	public void setEnable(int enable) {
		this.enable = enable;
	}
	public Timestamp getCreate_date() {
		return create_date;
	}
	public void setCreate_date(Timestamp create_date) {
		this.create_date = create_date;
	}
	@Override
	public String toString() {
		return "UserAccounts [id=" + id + ", username=" + username + ", password=" + password + ", enable=" + enable
				+ ", create_date=" + create_date + "]";
	}
	
	
}
